package com.four.dao;

import com.four.pojo.Orders;
import com.four.pojo.Product;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository("ordersMapper")
public interface OrdersMapper {
    List<Orders> findAll(Orders orders);

    Orders findById(int id);

    List<Orders> findAllJs();

    int addOrder(Orders orders);//添加订单

    int deleteOid(int id);
}